<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ include file="datalink.jsp" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-utf-8">
        <title>check</title>
        </head>
        <style>
            #a {
            width:50%;
            height:100%;
            margin-left:25%;
            border: 1px dashed ;
            background-color:rgba(46, 184, 194, 0.397);
            text-align:center;
            }
            body{
                text-align:center;
                background-color:lightblue;
            }
            .ku{
                height: 10%;
                text-align:center;
                background-color: blanchedalmond;
                border: 2px dashed ;
                float:left;
                width: 48%;
            }
        </style>
    <body>
        <div id="a">
            <%
            Statement st = null;
            st = conn.createStatement();
            String exe="SELECT * FROM loginma";
            ResultSet rs = null;  
            rs = st.executeQuery(exe);
            %><div class="ku">登录账号</div><%
            %><div class="ku">登录时间</div><%
            while(rs.next()){
                %><div class="ku"><% out.print(rs.getString(1));%></div><%
                %><div class="ku"><% out.print(rs.getString(2));%></div><%
            }
            %>
        <button onclick="window.location.href='./choose.jsp'" type="button" id="add">返回</button>
    </div>
    </body>
</html>